//package com.sduept.nwld.test.relations;
//
//import java.sql.PreparedStatement;
//import java.sql.ResultSet;
//import java.util.ArrayList;
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//import com.sduept.nwld.dataserver.model.edata.ACLineSegmentMData;
//import com.sduept.nwld.test.ReadFile2DB.TableData;
//
//public class RelationData extends DBConnection {
//
//	public Map<String, String> cimStationIdNameMap = new HashMap<>();
//	public Map<String, String> bxStationIdNameMap = new HashMap<>();
//
//	public void queryStation(String tbname, List<TableData> datas)
//			throws Exception {
//		getConnection();
//		PreparedStatement pst = null;
//		ResultSet rs = null;
//		List<ACLineSegmentMData> result = new ArrayList<ACLineSegmentMData>();
//		try {
//			String sql = "select rdf_id,cim_naming_name from cim_substation";
//			pst = conn.prepareStatement(sql);
//			rs = pst.getResultSet();
//			while (rs.next()) {
//				cimStationIdNameMap.put(rs.getString(2), rs.getString(1));
//			}
//
//		} catch (Exception e) {
//			e.printStackTrace();
//		} finally {
//			pst.close();
//			rs.close();
//			closeConnection();
//		}
//	}
//}
